package aaa;
import java.util.*;
public class A {
	
	
		public static void main (String[] args) {
		        System.out.println("请输入,每输入一个信息用回车确认"); 
		        System.out.println("最后输入一个“#”号结束输入操作"); 
		        Scanner reader=new Scanner(System.in); 
		        
		        while(!reader.hasNext("#")){ 
		        	 int a=0,b=0,c=0;
		             String x=reader.next(); 
		              System.out.println(x);
		            char[] user2=new char[1000];
		           user2=x.toCharArray();
		           for(int i=0;i<x.length();i++){
		   	        if(user2[i]>='A'&&user2[i]<='z'){
		   	        	a=1;
		   	        continue;
		   	        }
		   	        if(user2[i]>='1'&&user2[i]<='9'){
		   	        	 b++;
		   	        }
		   	        if(user2[i]=='.'){
		   	        	c++;
		   	        }
		   	       }
		           
		           if(b==x.length()) {
		        	   System.out.println("为整型");     	   
		        	  	continue;
		   	     }if(c<2) {
		        	  System.out.println("为小数");
		        	continue;
		           }
		        	System.out.println("为字符串");
		       }    
		   }
		}